home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 14
/
CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso
/
CUCD
/
Programming
/
IEditor
/
Docs
/
GadgetDataFields.txt
< prev
next >
Wrap
Text File
|
1997-06-17
|
3KB
|
140 lines
/*
** This file is © Copyright 1994-96 by Simone Tellini
** All Rights Reserved.
**
*/
For each gadget kind, the bit 0 of Tags means 'Use GT_Underline,"_"'
Tags structure:
2 - GA_Disabled
^
^ `--> Tag to set
`------> This isn't a bit, is a flag! i.e. IF (GadgetTags AND 2) THEN
put GA_Disabled,TRUE in the
source.
BUTTON_KIND
- no Data field used
Tags:
2 - GA_Disabled
4 - GA_Immediate
CHECKBOX_KIND
- no Data field used
Tags:
2 - GA_Disabled
4 - GTCB_Checked
8 - GTCB_Scaled
INTEGER_KIND
Data 1 - LONG Number
Data 2 - WORD MaxChars
Data 3 - WORD Justification
Tags:
2 - GA_Disabled
4 - GA_Immediate
8 - GA_TabCycle
$10 - STRINGA_ExitHelp
$20 - STRINGA_ReplaceMode
LISTVIEW_KIND
Data 1 - WORD Top
Data 2 - WORD Make Visible
Data 3 - WORD Scroll Width
Data 4 - WORD Selected
Data 5 - WORD Spacing
Data 6 - WORD Item Height
Data 7 - WORD Max Pen
Tags:
2 - GA_Disabled
4 - GTLV_ReadOnly
8 - GTLV_ShowSelected
MX_KIND
Data1 - WORD Active
Data2 - WORD Spacing
Data3 - WORD Title Place
ExtraMem - ^Items ; err... ignore this... ;-)
Tags:
2 - GA_Disabled
4 - GTMX_Scaled
NUMBER_KIND
Data1 - LONG Number
Data2 - BYTE Front Pen, -1 not to set
Data3 - BYTE Back Pen -1 not to set
(+2) WORD Justification
Data4 - LONG Max Number Len
Data5,Data6,Data7 - String: Format
Tags:
2 - GTNM_Border
4 - GTNM_Clipped
CYCLE_KIND
Data1 - WORD Active
ExtraMem - ^Items
Tags:
2 - GA_Disabled
PALETTE_KIND
Data1 - WORD Depth
Data2 - BYTE Color
Data3 - BYTE Color Offset
Data4 - WORD Indicator Width
Data5 - WORD Indicator Height
Data6 - WORD Num Colors
Tags:
2 - GA_Disabled
SCROLLER_KIND
Data1 - WORD Top
Data2 - WORD Total
Data3 - WORD Visible
Data4 - WORD Arrows
Data5 - WORD Freedom
Tags:
2 - GA_Disabled
4 - GA_RelVerify
8 - GA_Immediate
SLIDER_KIND
Data1 - WORD Min
WORD Max
Data2 - WORD Level
WORD Max Level Len
Data3 - BYTE Level Place
BYTE Justification
BYTE Freedom
Data4 - LONG Max Pixel Len
Data5 - STR Level Format
Tags:
2 - GA_Disabled
4 - GA_RelVerify
8 - GA_Immediate
STRING_KIND
Data1 - WORD MaxChars
Data2 - WORD Justification
ExtraMem - ^String
Tags:
2 - GA_Disabled
4 - GA_Immediate
8 - GA_TabCycle
$10 - STRINGA_ExitHelp
$20 - STRINGA_ReplaceMode
TEXT_KIND
Data1 - WORD FrontPen
Data2 - WORD BackPen
Data3 - WORD Justification
ExtraMem - ^Text
Tags:
2 - GTTX_CopyText
4 - GTTX_Border
8 - GTTX_Clipped